package org.gruposp2p.dnie.model;

import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlType
@XmlRootElement(name = "StatisticData")
@XmlAccessorType(XmlAccessType.NONE)
public class StatisticData implements Serializable {

    @XmlElement
    public Integer total;
    @XmlElementWrapper(name = "options")
    @XmlElement(name = "option", nillable=true)
    public List<StatisticOption> options;

}
